<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="__STATIC__/layui/css/layui.css">
    <link rel="stylesheet" href="__STATIC__/layui/css/view.css"/>
    <link rel="icon" href="/favicon.ico">
</head>
<body>
<h1>留言板</h1>

<table class="layui-table">
    <thead>
    <tr>
        <th>ID</th>
        <th>姓名</th>
        <th>性别</th>
        <th>地址</th>
        <th>电话</th>
        <th>QQ</th>
        <th>E-mail</th>
        <th>留言内容</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    {volist name="lybs" id="lyb"}
    <tr>
        <td>{$lyb.no}</td>
        <td>{$lyb.username}</td>
        <td>{$lyb.gender}</td>
        <td>{$lyb.dizhi}</td>
        <td>{$lyb.tel}</td>
        <td>{$lyb.qq}</td>
        <td>{$lyb.email}</td>
        <td>{$lyb.neirong}</td>
        <td>

            <a href="{:url('houtai/lybdel',['no'=>$lyb.no])}" class="layui-btn layui-btn-danger layui-btn-sm">删除</a>
        </td>
    </tr>
    {/volist}
    </tbody>


</table>
</body>
</html>